﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Maticsoft.DBUtility;

namespace DAL.wlDAL
{
    public class User
    {
        /// <summary>
        /// 用户
        /// </summary>
        /// <returns></returns>
        public DataTable GetUser()
        {
            string sql = @"select * from Rel_User ru
 left join Fct_Purview fp on ru.PurviewID=fp.PurviewID where ru.Disabled=0 and fp.Disabled=0";

            return DbHelperSQL.Query(sql).Tables[0];
        }
    }
}
